package com.example.emos.api.config.tencent;

import cn.hutool.core.util.StrUtil;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author: zhaoyu
 * @date: 2023/12/3 17:08
 */
@Component
public class TrtcUtil {

    @Value("${tencent.trtc.appId}")
    private int appId;

    @Value("${tecent.trtc.expire}")
    private int expire;

    @Value("${tencent.trtc.secretKey}")
    private String secretKey;

    public String genUserSig(String userId) {
        return "GenTLSSignature()";
    }

    private String GenTLSSignature(long sdkappid, String userId, long expire, byte[] userbuf, String currTime) {
        return "";
    }

}
